import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/user_info_gametype_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/user_info_gametype_entity.g.dart';

@JsonSerializable()
class UserInfoGametypeEntity {
	String? userId;
	String? nickName;
	String? avatar;
	double? userBalance;
	String? walletAddress;
	String? guildName;
	String? guildId;
	int? guildMemberLevel;
	String? email;
	UserInfoGametypeWithdrawSet? withdrawSet;
	int? stoneNum;
	double? rechargeMinDrn;
	int? rechargeMinCoin;
	int? rechargeUsdtCoin;
	int? coin;
	int? newGift;

	UserInfoGametypeEntity();

	factory UserInfoGametypeEntity.fromJson(Map<String, dynamic> json) => $UserInfoGametypeEntityFromJson(json);

	Map<String, dynamic> toJson() => $UserInfoGametypeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class UserInfoGametypeWithdrawSet {
	int? dayMaxCount;
	double? minDrn;
	int? maxDrn;
	double? feeRate;
	int? everyDoranCoin;
	int? withdrawMinCoin;

	UserInfoGametypeWithdrawSet();

	factory UserInfoGametypeWithdrawSet.fromJson(Map<String, dynamic> json) => $UserInfoGametypeWithdrawSetFromJson(json);

	Map<String, dynamic> toJson() => $UserInfoGametypeWithdrawSetToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}